const axios = require('axios')
const baseURL = 'http://localhost:3000'

// 获取所有菜单列表
export async function getMenuList (params) {
  console.log('获取home菜单列表')
  console.log(params)
  return await axios({
    method: 'get',
    url: baseURL + '/api/getMenuList',
    data: {
      ...params
    }
  })
}
